﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Baidu.Api.Util
{
    public enum HttpMethodEnums
    {
        Get,
        Post,
    }

    public class HttpMethodAttribute : Attribute
    {
        public HttpMethodEnums HttpMethod { get; protected set; }

        public HttpMethodAttribute(HttpMethodEnums method)
        {
            this.HttpMethod = method;
        }
    }
}
